﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Skills
    {
        static Dictionary<string, Skill> skills = new Dictionary<string, Skill>();
        static Skills()
        {
            skills.Add("黑龙波", new Skill { Name = "黑龙波", CD = 0.3, ID = 0x0007A9BB00002720, MP = 102, IsMultiple = true, AttackRange = 16 });
            skills.Add("地狱火", new Skill { Name = "地狱火", CD = 4, ID = 0x00018F3900002722, MP = 227, IsMultiple = true, AttackRange = 6, IsFixedCD = true });
            skills.Add("陨石术", new Skill { Name = "陨石术", CD = 0.3, ID = 0x0007A9BB00002720, MP = 5, IsMultiple = false, AttackRange = 16 });
            skills.Add("霹雳回旋斩", new Skill { Name = "霹雳回旋斩", CD = 0.3, ID = 0x00018F3900002717, MP = 15, IsMultiple = true, AttackRange = 10 });
            skills.Add("霹雳地裂斩", new Skill { Name = "霹雳地裂斩", CD = 4, ID = 0x00018F3900002719, MP = 34, IsMultiple = true, AttackRange = 3, IsFixedCD = true });
            skills.Add("穿透箭", new Skill { Name = "穿透箭", CD = 0.2, ID = 0x00018F3900002719, MP = 34, IsMultiple = false, AttackRange = 16, IsFixedCD = false });
        }

        public static Skill GetSkill(string name)
        {
            return skills[name];
        }
    }
}
